
<div class="header"><span>{:date('H:i')}</span></div>
<div class="container">
    <div class="logo">A</div>
    <div class="content"><img src="{$content|default=''}" alt="img"></div>
</div>
<style>

    .header {
        margin-top: .4rem;
        text-align: center
    }

    .header span {
        padding: .1rem .2rem;
        border-radius: .5rem;
        background: #999;
        color: #fff;
        font-size: .6rem
    }
    .container {
        position: relative;
        display: block;
        margin: 5vw auto;
        width: 90%;
        color: #333;
        text-overflow: ellipsis;
    }
    .container .content {
        max-width: 54vw;
        border: none !important;
        display: inline-block;
        padding: 0 !important;
        position: relative;
        left: 3.4rem;
        border-radius: 5px;
        background: none;
    }

    .container .content img {
        max-width: 100%;
        border-radius: 5px;
        box-shadow: 0 0 3px #666;
    }
    .container .logo {
        position: absolute;
        top: 0;
        display: inline-block;
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 50%;
        background: #098;
        color: #fff;
        content: 'A';
        text-align: center;
        font-size: .8rem;
        line-height: 2.5rem;
    }

</style>
